/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.uniq.purchase;

import java.util.Collection;

/**
 *
 * @author user
 */
public interface IOrder 
{
    boolean addProduct(Product p);
    boolean removeProduct(String pid)throws ProductNotFoundException;
    Collection getcartDetails();
    Product getProductFromCart(String pid)throws ProductNotFoundException;
    double getCartPrice();
    int getProductCount();
    
    
}
